<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>百朋后台管理系统</title>
    <link rel="stylesheet" type="text/css" href="/thinkphp/Public/easyui/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="/thinkphp/Public/easyui/themes/icon.css">
    <link rel="stylesheet" type="text/css" href="/thinkphp/Public/easyui/demo.css">
    <link rel="stylesheet" type="text/css" href="/thinkphp/Public/css/user/user_main.css">
    <script type="text/javascript" src="/thinkphp/Public/easyui/jquery.min.js"></script>
    <script type="text/javascript" src="/thinkphp/Public/easyui/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="/thinkphp/Public/js/user/user_main.js"></script>
</head>
<body>
    <div class="user_table">
        <table id="user_table" title="Client Side Pagination" style="width:100%;height:405px" data-options="
                        rownumbers:true,
                        singleSelect:true,
                        autoRowHeight:false,
                        pagination:true,
                        pageSize:10,toolbar:'#tb'">
            <thead>
            <tr>
                <th field="user_id" width="20%">员工编号</th>
                <th field="user_name" width="25%">员工姓名</th>
                <th field="load_name" width="30%">员工登录名</th>
                <!--<th field="amount" width="80" align="right">Amount</th>
                <th field="price" width="80" align="right">Price</th>
                <th field="cost" width="100" align="right">Cost</th>
                <th field="note" width="110">Note</th>-->
            </tr>
            </thead>
        </table>
    </div>
    <div id="tb" style="padding:5px;height:auto">
        <div style="margin-bottom:5px">
            <a href="javscript:;" onclick="add_user();" class="easyui-linkbutton" iconCls="icon-add" plain="true"></a>
            <a href="#" class="easyui-linkbutton" iconCls="icon-edit" plain="true"></a>
            <a href="#" class="easyui-linkbutton" iconCls="icon-save" plain="true"></a>
            <a href="#" class="easyui-linkbutton" iconCls="icon-cut" plain="true"></a>
            <a href="#" class="easyui-linkbutton" iconCls="icon-remove" plain="true"></a>
        </div>
        <div>
            Date From: <input class="easyui-datebox" style="width:80px">
            To: <input class="easyui-datebox" style="width:80px">
            Language:
            <select class="easyui-combobox" panelHeight="auto" style="width:100px">
                <option value="java">Java</option>
                <option value="c">C</option>
                <option value="basic">Basic</option>
                <option value="perl">Perl</option>
                <option value="python">Python</option>
            </select>
            <a href="#" class="easyui-linkbutton" iconCls="icon-search">Search</a>
        </div>
    </div>
    <script>
        $(function(){
            var json='<?php echo ($user_json); ?>';
            var array=eval('('+json+')');
            $('#user_table').datagrid({loadFilter:pagerFilter}).datagrid('loadData', array);
        });
    </script>
</body>
</html>